package com.maiji.cloud.request.shopingmall;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain=true)
public class AddToShopingCartReqDto {

    @ApiModelProperty(value="请求参数")
    private AddToShopingCartReqData data;

    @NoArgsConstructor
    @Data
    @Accessors(chain=true)
    public class AddToShopingCartReqData {

        @ApiModelProperty(value="商品ID")
        private String goodsId;

        @ApiModelProperty(value="商品数量")
        private Integer quantity;

    }

}
